<?php

namespace Part01_SimpleFactoryMode\Code4;


/**
 * @desc: 加法运算类
 * @date: 2021/9/9
 */
class OperationAdd extends Operation
{
    public function getResult()
    {
        return $this->getNumA() + $this->getNumB();
    }
}